package com.pingan.haofang.searchcloud.web.index.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * @author baojimin518
 * @version 1.0
 * @create 2018/12/7 14:30
 */
@ApiModel(description = "增量定时拉取数据源请求参数实例")
public class IncDataSourceParamVO extends IncDataSourceVO {

    @ApiModelProperty(value = "起始数据版本号")
    @NotNull
    private Long versuionFrom;


    @ApiModelProperty(value = "分页大小")
    @NotNull
    @Range(min = 1, message = "分页最小为1")
    private int pageNo;

    public Long getVersuionFrom() {
        return versuionFrom;
    }

    public void setVersuionFrom(Long versuionFrom) {
        this.versuionFrom = versuionFrom;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }
}
